/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package controladoresBD;

import javax.persistence.EntityManagerFactory;
import javax.persistence.Persistence;

/**
 *
 * @author user w7 64 ulti
 */
public class FabricaConexion {
    private EntityManagerFactory fabrica;
    
    public FabricaConexion(){
        fabrica = Persistence.createEntityManagerFactory("EntregaFinalProyectoDS2PU");
    }
    
    public EntityManagerFactory getFabrica(){
        return fabrica;
    }
}
